//14.6 - Movement.h - Mark Lee - Prima Publishing #ifndef MOVEMENT_H #define MOVEMENT_H #include #include "globals.h" using namespace std; //constructs a RECT from four integers RECT makeRECT(int x1, int y1, int x2, int y2); //returns true if the point (x,y) is in the RECT BOOL PointInRECT(int x, int y, RECT* rc); //returns true if the two rect's overlapp BOOL RECTinRECT(RECT* one, RECT* two); //returns true if the rect is touching any city BOOL isInCity(RECT* pos); //returns true if the point (x,y) is land bool landCollision(int x, int y, string filename); //Moves the ship based on input void DoMove(); #endif